package com.design.working.dto.dept;

public class DeptAddJobApplicationDTO {

    private String name;

    private String place;

    private String workDetail;

    private Integer needCount;

    private Integer jobCategory;//前端表单设置单选框的值为job_category表中的id

    private Integer year;

    private Integer term;//学年和学期两个一起才能决定campus_term_id的值

    public DeptAddJobApplicationDTO() {
    }

    public DeptAddJobApplicationDTO(String name, String place, String workDetail, Integer needCount, Integer jobCategory, Integer year, Integer term) {
        this.name = name;
        this.place = place;
        this.workDetail = workDetail;
        this.needCount = needCount;
        this.jobCategory = jobCategory;
        this.year = year;
        this.term = term;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPlace() {
        return place;
    }

    public void setPlace(String place) {
        this.place = place;
    }

    public String getWorkDetail() {
        return workDetail;
    }

    public void setWorkDetail(String workDetail) {
        this.workDetail = workDetail;
    }

    public Integer getNeedCount() {
        return needCount;
    }

    public void setNeedCount(Integer needCount) {
        this.needCount = needCount;
    }

    public Integer getJobCategory() {
        return jobCategory;
    }

    public void setJobCategory(Integer jobCategory) {
        this.jobCategory = jobCategory;
    }

    public Integer getYear() {
        return year;
    }

    public void setYear(Integer year) {
        this.year = year;
    }

    public Integer getTerm() {
        return term;
    }

    public void setTerm(Integer term) {
        this.term = term;
    }

    @Override
    public String toString() {
        return "DeptAddJobApplicationDTO{" +
                "name='" + name + '\'' +
                ", place='" + place + '\'' +
                ", workDetail='" + workDetail + '\'' +
                ", needCount=" + needCount +
                ", jobCategory=" + jobCategory +
                ", year=" + year +
                ", term=" + term +
                '}';
    }
}
